home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11821 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  743 b 

  1. Path: tank.news.pipex.net!pipex!iol!not-for-mail
  2. From: goyra@iol.ie (David Byrden)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: overloading ->
  5. Date: 16 Mar 1996 11:29:24 GMT
  6. Organization: Ireland On-Line
  7. Message-ID: <4ie8mk$h9j@nuacht.iol.ie>
  8. References: <4id6o2$t5n@vixen.cso.uiuc.edu>
  9. NNTP-Posting-Host: joyce.iol.ie
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Wendy E. McCaughrin (wemccaug@prairienet.org) wrote:
  13. :  I realize that in addition to returning an object pointer
  14. :  as value, a member operator -> can also return an object,
  15. :  but I am wondering if there is a way to overload it so it
  16. :  can return two different pointer types directly....
  17.  
  18.  
  19. Wendy;
  20.  
  21.                       No.
  22.  
  23.                                             David
  24.  
  25.